public class HomeWork11_05{
    public static void main(String[] args){
        int[] arr = new int[]{1, 2, 3, 4, 5};
        IntDupArr.intDupArr(arr);
        for(int item : arr){
            System.out.println(item);
        }
    }
}

class IntDupArr{
    public static void intDupArr(int[] arr){
        for(int i = 0; i < arr.length; i++){
            arr[i] *= 2;
        }
    }
}